<table id="dataTable">
    <thead>
    <tr>
        <th>ID</th>
        <th>商家名称</th>
        <th>金额</th>
        <th>有效期</th>
<!--        <th>冻结/通过</th>-->
    </tr>
    </thead>
    <tbody>
    <?php foreach($r['coupon'] as $v){?>
        <tr>
            <td><?php echo $v['id']?></td>
            <td><?php echo $v['company']?></td>
            <td>￥<?php echo $v['value']?></td>
            <td><?php echo $v['deadline']?></td>
            <!--            <td>--><?php //if($v['enable']==1){?><!--  --><?php //echo "已通过/";}else{?><!--  <a href="--><?php //e_action("checkPass","id={$v['id']}")?><!--">通过</a> --><?php //}?><!--   --><?php //if($v['enable']==1){?><!--    <a href="--><?php //e_action("checkCancel","id={$v['id']}")?><!--">冻结</a>--><?php //}?><!--</td>-->
        </tr>
    <?php }?>
    </tbody>
</table>
<?php
/** @var Page $page */
$page=$r['pages'];
?>
<?php echo $page->getPageHtml(); ?>
